package com.ruoyi.web.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图配置对象 api_banner
 * 
 * @author youwei
 * @date 2023-12-01
 */
public class ApiBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 链接 */
    @Excel(name = "链接")
    private String link;

    /** 是否是外站 */
    @Excel(name = "是否是外站")
    private Integer isOut;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setIsOut(Integer isOut) 
    {
        this.isOut = isOut;
    }

    public Integer getIsOut() 
    {
        return isOut;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cover", getCover())
            .append("location", getLocation())
            .append("link", getLink())
            .append("isOut", getIsOut())
            .append("sort", getSort())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
